﻿using Newtonsoft.Json;
using Sportsbook.Domain.Models.BetSlips;

namespace Sportsbook.CouchbasePersistence.Models.BetSlips
{
    public class Ticket : ITicket
    {
        [JsonProperty(PropertyName = "home_team")]
        public string HomeTeam { get; set; }

        [JsonProperty(PropertyName = "away_team")]
        public string AwayTeam { get; set; }

        [JsonProperty(PropertyName = "red_cards_home_team")]
        public int HomeRedCards { get; set; }

        [JsonProperty(PropertyName = "red_cards_away_team")]
        public int AwayRedCards { get; set; }

        [JsonProperty(PropertyName = "chosen_team")]
        public TeamOption ChosenTeam { get; set; }
        public decimal Price { get; set; }

        [JsonProperty(PropertyName = "stake")]
        public decimal Stake { get; set; }
    }
}
